/*
 * @Author: 晟松
 * @Date: 2021-12-16 23:48:49
 * @LastEditors: 晟松
 * @LastEditTime: 2022-02-26 22:29:04
 * @FilePath: \volunteer-vue3-admin\src\myApi\groupVol.js
 * @Description:
 */
import { _axios } from "../plugins/axios";

export const add = (data) => {
    return _axios.post("/groupVol/add", data);
};

export const deleteGroupVol = (data) => {
    return _axios.post("/groupVol/delete", data);
};
export const getMineGroupVol = (data) => {
    return _axios.post("/groupVol/getMineGroupVol", data);
};
export const schoolGetMineGroupVol = (data) => {
    return _axios.post("/groupVol/schoolGetMineGroupVol", data);
};
export const getPublicGroupVol = (data) => {
    return _axios.post("/groupVol/getPublicGroupVol", data);
};
export const update = (data) => {
    return _axios.post("/groupVol/update", data);
};

export const receiveGroupVol = (data) => {
    return _axios.post("/groupVol/receiveGroupVol", data);
};
export const studentReceiveGroupVol = (data) => {
    return _axios.post("/groupVol/studentReceiveGroupVol", data);
};
export const getGroupVolRelativeStudent = (data) => {
    return _axios.post("/groupVol/getGroupVolRelativeStudent", data);
};
export const evaluateGroupVol = (data) => {
    return _axios.post("/groupVol/evaluateGroupVol", data);
};
export const feedbackGroupVol = (data) => {
    return _axios.post("/groupVol/feedbackGroupVol", data);
};

export const residentGetGroupVolList = (data) => {
    return _axios.post("/groupVol/residentGetGroupVolList", data);
};

export const getGroupVolInfo = (data) => {
    return _axios.post("/groupVol/getGroupVolInfo", data);
};

export const studentGetGroupVolList = (data) => {
    return _axios.post("/groupVol/studentGetGroupVolList", data);
};

export const studentGetMineGroupVol = (data) => {
    return _axios.post("/groupVol/studentGetMineGroupVol", data);
};

export const schoolGetStudentGroupVol = (data) => {
    return _axios.post("/groupVol/schoolGetStudentGroupVol", data);
};
